package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 course
 * 
 * @author ruoyi
 * @date 2022-07-04
 */
public class Course extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 课程名称 */
    @Excel(name = "课程名称")
    private String courseName;

    /** 封面 */
    @Excel(name = "封面")
    private String cover;

    /** 价格 */
    @Excel(name = "价格")
    private Long price;

    /** 讲师姓名 */
    @Excel(name = "讲师姓名")
    private String teacher;

    /** 简介 */
    @Excel(name = "简介")
    private String intro;

    /** 详细介绍 */
    @Excel(name = "详细介绍")
    private String introduce;

    /** 课程时长 */
    @Excel(name = "课程时长")
    private Long time;

    /** 加课人数 */
    @Excel(name = "加课人数")
    private Long peopleNum;

    /** 分类id */
    @Excel(name = "分类id")
    private Long classId;

    /** 状态为0表示未上架，状态为1表示已上架 */
    @Excel(name = "状态为0表示未上架，状态为1表示已上架")
    private String state;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCourseName(String courseName) 
    {
        this.courseName = courseName;
    }

    public String getCourseName() 
    {
        return courseName;
    }
    public void setCover(String cover) 
    {
        this.cover = cover;
    }

    public String getCover() 
    {
        return cover;
    }
    public void setPrice(Long price) 
    {
        this.price = price;
    }

    public Long getPrice() 
    {
        return price;
    }
    public void setTeacher(String teacher) 
    {
        this.teacher = teacher;
    }

    public String getTeacher() 
    {
        return teacher;
    }
    public void setIntro(String intro) 
    {
        this.intro = intro;
    }

    public String getIntro() 
    {
        return intro;
    }
    public void setIntroduce(String introduce) 
    {
        this.introduce = introduce;
    }

    public String getIntroduce() 
    {
        return introduce;
    }
    public void setTime(Long time) 
    {
        this.time = time;
    }

    public Long getTime() 
    {
        return time;
    }
    public void setPeopleNum(Long peopleNum) 
    {
        this.peopleNum = peopleNum;
    }

    public Long getPeopleNum() 
    {
        return peopleNum;
    }
    public void setClassId(Long classId) 
    {
        this.classId = classId;
    }

    public Long getClassId() 
    {
        return classId;
    }
    public void setState(String state) 
    {
        this.state = state;
    }

    public String getState() 
    {
        return state;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("courseName", getCourseName())
            .append("cover", getCover())
            .append("price", getPrice())
            .append("teacher", getTeacher())
            .append("intro", getIntro())
            .append("introduce", getIntroduce())
            .append("time", getTime())
            .append("peopleNum", getPeopleNum())
            .append("classId", getClassId())
            .append("state", getState())
            .toString();
    }
}
